
package models.spider.deprecated.rdf;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlElement;

/**
 * @author laurent@opprecht.info
 */
@XmlAccessorType(XmlAccessType.FIELD)
public class Resource {

    @XmlElement(namespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
    public Type          type        = null;
    @XmlElement(namespace = "http://ple.unige.ch/re/1#")
    public String        id          = null;
    @XmlElement(namespace = "http://ple.unige.ch/re/1#")
    public String        pid         = null;
    @XmlElement(namespace = "http://ple.unige.ch/re/1#")
    public String        dataset     = null;
    @XmlElement(namespace = "http://ple.unige.ch/re/1#")
    public String        url         = null;
    @XmlElement(namespace = "http://ple.unige.ch/re/1#")
    public String        name        = null;
    @XmlElement(namespace = "http://ple.unige.ch/re/1#")
    public String        description = null;
    @XmlElement(namespace = "http://ple.unige.ch/re/1#")
    public List<String>  tags        = new ArrayList<String>();
    @XmlElement(namespace = "http://ple.unige.ch/re/1#")
    public List<Link>    actors      = new ArrayList<Link>();
    @XmlElement(namespace = "http://ple.unige.ch/re/1#")
    public List<Link>    spaces      = new ArrayList<Link>();
    @XmlElement(namespace = "http://ple.unige.ch/re/1#")
    public List<Link>    assets      = new ArrayList<Link>();
    @XmlAnyElement
    private List<Object> nodes;
}
